*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    display:flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: #1dd1a1;
    transition: .5s linear;
}

.login{
    position: relative;
    padding: 50px;
    background: #fff;
    border-radius: 20px;
    width: 400px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    box-shadow: 0 25px 50px rgba(0,0,0,.4);
}
.login h2{
    font-weight: 500;
    border-left: 15px solid #1dd1a1;
    line-height: 1em;
    padding-left: 10px;
    transition: 0.5s;
    color: #333;
}

.login .inputBox{
    position: relative;
}
.login .inputBox input{
    position: relative;
    width: 100%;
    padding: 10px 15px;
    outline: none;
    font-size: 1em;
    border: 2px solid #555;
    color: #333;

    
}

.login .inputBox #btn{
    border: none;
    background: #1dd1a1;
    color: #fff;
    transition: 0.5s;
    font-size: 1.1em;
    font-weight: 500;
    cursor: pointer;
}
.login .group a{
    text-decoration: none;
    color: green;
}

.login .group{
    display: flex;
    justify-content: space-between;
    
}
.colors{
    position: absolute;
    right: 0;
    padding: 10px;
    background: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.colors span{
    position: relative;
    width: 20px;
    height: 20px;
    background: var(--clr);
    margin: 10px;
    border-radius: 20px;
    cursor: pointer;
}
.colors .active{
    border: 2px solid #333;
    /* 放大 */
    scale: 1.5;
}